;-| Button Remapping |-----------------------------------------------------
[Remap]
x = x
y = a
z = z
a = y
b = b
c = c
s = s

;-| Default Values |-------------------------------------------------------
[Defaults]
; Default value for the "time" parameter of a Command. Minimum 1.
command.time = 15

; Default value for the "buffer.time" parameter of a Command. Minimum 1,
; maximum 30.
command.buffer.time = 1


;--------------------------------------------------------------------------
[Command]
name = "AI1"
command = U, D, U, D, U, D, U, D
time = 1
[Command]
name = "AI2"
command = U, D, U, D, U, D, U ,D,U
time = 1
[Command]
name = "AI3"
command = U, D, U, D, U, D, U ,D ,U ,D
time = 1
[Command]
name = "AI4"
command = U, D, U, D, U, D, U, D ,b
time = 1
[Command]
name = "AI5"
command = U, D, D, D, U, D, U, D, U
time = 1
[Command]
name = "AI6"
command = U, U, U, D, U, D, U ,D ,U ,D
time = 1
[Command]
name = "AI7"
command = U, D, U, D, U, D, U, D ,x
time = 1
[Command]
name = "AI8"
command = U, D, U, D, U, D, U ,D,U ,y
time = 1
[Command]
name = "AI9"
command = U, D, U, D, U, D, U ,D ,U ,D ,z
time = 1
[Command]
name = "AI10"
command = U, D, U, D, U, D, U, D ,U ,D ,a
time = 1
[Command]
name = "AI11"
command = U, D, U, D, U, D, U ,D,U,D,U,b
time = 1
[Command]
name = "AI12"
command = U, D, U, D, U, D, U ,D ,U ,D,c
time = 1
[Command]
name = "AI13"
command = U, D, U, D, U, D, U, D ,U ,D ,F
time = 1
[Command]
name = "AI14"
command = U, D, U, D, U, D, U ,D,U,D,U,B
time = 1
[Command]
name = "AI15"
command = U, D, U, D, U, D, U ,D ,U ,D,D,D
time = 1
[Command]
name = "AI16"
command = U, F, U, D, U, D, U ,D ,U ,D ,z
time = 1
[Command]
name = "AI17"
command = U, F, U, D, U, D, U, D ,U ,D ,a
time = 1
[Command]
name = "AI18"
command = U, F, U, D, U, D, U ,D,U,D,U,b
time = 1
[Command]
name = "AI19"
command = U, F, U, D, U, D, U ,U ,U ,D ,z
time = 1
[Command]
name = "AI20"
command = U, F, U, D, U, D, U, B ,U ,D ,a
time = 1
[Command]
name = "AI21"
command = U, F, U, D, B, D, U ,D,U,D,U,b
time = 1
[Command]
name = "AI22"
command = U, F, U, D, U, D, U ,U ,U ,D ,z,b
time = 1
[Command]
name = "AI23"
command = U, F, U, D, U, D, U, B ,U ,D ,a,c
time = 1
[Command]
name = "AI24"
command = U, F, U, D, B, D, U ,D,U,D,U,b,a
time = 1
[Command]
name = "AI25"
command = U, F, U, D, U, D, U ,U ,U ,D ,z,b,U
time = 1
[Command]
name = "AI26"
command = U, F, U, D, U, D, U, B ,U ,D ,a,c,D
time = 1
[Command]
name = "AI27"
command = U, F, U, D, B, D, U ,D,U,D,U,b,a,F
time = 1
[Command]
name = "AI28"
command = U, F, U, D, B, D, U ,D,U,D,U,b,a
time = 1
[Command]
name = "AI29"
command = U, F, U, D, U, D, U ,U ,U ,D ,z,b,U,a
time = 1
[Command]
name = "AI30"
command = U, F, U, D, U, D, U, B ,U ,D ,a,c,D,a,a
time = 1
[Command]
name = "AI31"
command = U, F, U, D, B, D, U ,D,U,D,U,b,a,F,a,a,a


;-| Special Motions |------------------------------------------------------
[Command]
name = "fatal1"
command = ~B, F, F, ~a
time = 33

[Command]
name = "fatal2"
command = ~F, D, D, F, y
time = 33

[Command]
name = "friendship"
command = ~F, F, D, F, x
time = 33

[Command]
name = "pit"
command = ~F, F, D, b
time = 33

[Command]
name = "qcf_x"
command = ~D, DF, F, x
time = 20

[Command]
name = "jump"
command = ~B, D, B, a
time = 25

[Command]
name = "stomp"
command = ~D, U
time = 20

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "start"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdz";Required (do not remove)
command = /$z
time = 1

[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1


;--------------------------------------------------
[Statedef -1]

[State -1, Combo condition Reset]
type = VarSet
trigger1 = 1
var(1) = 0


[State -1, Combo condition Reset]
type = VarSet
trigger1 = command = "x"
var(17) = 1
[State -1, Combo condition Reset]
type = VarSet
trigger1 = command = "y"
var(17) = 2
[State -1, Combo condition Reset]
type = VarSet
trigger1 = command = "a"
var(17) = 3
[State -1, Combo condition Reset]
type = VarSet
trigger1 = command = "b"
var(17) = 4

[State -1, Combo condition Check]
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep 
trigger2 = movecontact
var(1) = 1


;---------------------------------------------------
[State -1]
type = Varset
triggerall = var(30) != 30
trigger1 = command = "AI1"
trigger2 = command = "AI2"
trigger3 = command = "AI3"
trigger4 = command = "AI4"
trigger5 = command = "AI5"
trigger6 = command = "AI6"
trigger7 = command = "AI7"
trigger8 = command = "AI8"
trigger9 = command = "AI9"
trigger10 = command = "AI10"
trigger11 = command = "AI11"
trigger12 = command = "AI12"
trigger13 = command = "AI13"
trigger14 = command = "AI14"
trigger15 = command = "AI15"
trigger16 = command = "AI16"
trigger17 = command = "AI17"
trigger18 = command = "AI18"
trigger19 = command = "AI19"
trigger20 = command = "AI20"
trigger21 = command = "AI21"
trigger22 = command = "AI22"
trigger23 = command = "AI23"
trigger24 = command = "AI24"
trigger25 = command = "AI25"
trigger26 = command = "AI26"
trigger27 = command = "AI27"
trigger28 = command = "AI28"
trigger29 = command = "AI29"
trigger30 = command = "AI30"
trigger31 = command = "AI31"
v = 30
value = 30
;---------------------------------------------------------------------------
;AIs
[State -1]
type = ChangeState
value = 24
triggerall = var(30) = 30
triggerall = p2stateno = 10001
triggerall = statetype != A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 430
triggerall = statetype != A
triggerall = var(30) = 30
triggerall = p2statetype = A
triggerall = ctrl
trigger1 = p2bodydist Y > -88
trigger1 = p2bodydist Y < -3
trigger1 = p2bodydist X < 5
trigger2 = p2bodydist Y > -88
trigger2 = p2bodydist Y < -3
trigger2 = p2bodydist X < 10
trigger2 = Enemy,vel X > 1

[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = var(30) = 30
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2stateno = 823
trigger1 = p2movetype = H
trigger2 = p2bodydist Y > -70
trigger2 = p2bodydist Y < -40
trigger2 = p2bodydist X > 18
trigger2 = p2bodydist X < 29

[State -1, Stand Light Punch]
type = ChangeState
value = 300
triggerall = ctrl
triggerall = var(30) = 30
triggerall = var(31) = 0
triggerall = p2bodydist X < 39
triggerall = p2bodydist X > 33
triggerall = statetype != A
trigger1 = p2bodydist Y > -70
trigger1 = p2bodydist Y < -40
trigger1 = p2statetype = A
trigger1 = p2movetype != H

[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = var(30) = 30
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X < 2
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger1 = p2stateno != 5120

[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = var(30) = 30
triggerall = var(31) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger1 = p2bodydist X < 4
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger1 = p2stateno != 5120

[State -1]
type = ChangeState
value = 220
triggerall = var(30) = 30
triggerall = var(32) > 0
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X < 9
trigger1 = p2bodydist X > 2
trigger1 = (p2statetype = S) || (p2statetype = C)
[State -1]
type = ChangeState
triggerall = Stateno = 220
triggerall = var(30) = 30
triggerall = time > 8
trigger1 = var(18) = 1
trigger1 = var(31) = 1
trigger2 = var(19) = 1
trigger2 = var(31) = 0
value = 221
[State -1]
type = ChangeState
triggerall = Stateno = 221
triggerall = time > 11
triggerall = var(30) = 30
trigger1 = var(18) = 1
value = 222

[State -1, Stand Light Punch]
type = ChangeState
value = 223
triggerall = var(32) = 2
triggerall = var(30) = 30
trigger1 = var(18) = 1
trigger1 = stateno = 222
trigger1 = time > 14
trigger1 = time < 20

[State -1]
type = ChangeState
value = 260
triggerall = var(30) = 30
triggerall = statetype != A
trigger1 = ctrl
trigger1 = var(31) = 1
trigger1 = p2bodydist X < 5
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger2 = var(19) = 1
trigger2 = time > 18
trigger2 = var(32) < 2
trigger2 = Stateno = 222
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(31) = 1
trigger3 = p2bodydist X < 6
trigger3 = p2statetype = A
trigger3 = p2bodydist Y > -20
trigger3 = p2bodydist Y < -3
trigger4 = p2stateno = 40
trigger4 = p2bodydist X < 5
trigger4 = var(31) = 1
[State -1, Stand Light Kick]
type = ChangeState
value = 261
triggerall = stateno = 260
triggerall = time > 8
triggerall = var(30) = 30
trigger1 = var(18) = 1
[State -1, Stand Light Kick]
type = ChangeState
value = 262
triggerall = stateno = 261
triggerall = var(30) = 30
triggerall = time > 11
triggerall = time < 17
trigger1 = var(18) = 1
[State -1, Stand Light Punch]
type = ChangeState
value = 263
triggerall = var(30) = 30
trigger1 = var(19) = 1
trigger1 = stateno = 262
trigger1 = time > 11

[State -1, Stand Strong Punch]
type = ChangeState
triggerall = var(30) = 30
triggerall = var(31) = 1
trigger1 = stateno = 210
trigger1 = Time = 13
trigger1 = var(12) = 1
value = 211
[State -1, Stand Strong Punch]
type = ChangeState
triggerall = stateno = 211
triggerall = var(30) = 30
trigger1 = Time = 11
trigger1 = var(12) = 1
value = 212

[State -1, Kung Fu Throw]
type = ChangeState
value = 100
triggerall = var(30) = 30
triggerall = ctrl
triggerall = statetype != A
triggerall = stateno != 100
triggerall = power > 200
trigger1 = p2bodydist X > 20
trigger1 = p2bodydist X < 32
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != A



[State -1, Stand Light Punch]
type = ChangeState
value = 310
triggerall = var(30) = 30
triggerall = var(31) = 0
trigger1 = p2bodydist X < 33
trigger1 = p2bodydist X > 20
trigger1 = p2statetype = S
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = p2bodydist X < 33
trigger2 = p2bodydist X > 20
trigger2 = p2statetype = S
trigger2 = statetype = S
trigger2 = stateno = 101
trigger3 = p2bodydist X < 33
trigger3 = p2bodydist X > 4
trigger3 = p2statetype = S
trigger3 = statetype = S
trigger3 = stateno = 151
[State -1, Stand Light Punch]
type = ChangeState
value = 300
triggerall = var(30) = 30
triggerall = var(31) = 1
triggerall = p2bodydist X < 27
triggerall = p2bodydist X > 20
triggerall = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist Y > -12
trigger1 = p2statetype = A
trigger2 = stateno = 101
trigger2 = p2bodydist Y > -10
trigger2 = p2statetype = A



[State -1, Stand Light Punch]
type = ChangeState
value = 1000
triggerall = statetype = S
triggerall = ctrl
triggerall = var(30) = 30
triggerall = enemy,life > 1
trigger1 = p2bodydist X < 176
trigger1 = p2bodydist X > 123
trigger1 = p2movetype = A
trigger1 = enemy, NumProj != 0
trigger2 = p2stateno = 50
trigger2 = p2bodydist X > 123
trigger2 = Enemy,vel X = 0
trigger2 = var(31) = 1

[State -1, Fast Kung Fu Blow]
type = ChangeState
value = 1200
triggerall = var(30) = 30
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 80
trigger1 = p2bodydist X > 70
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger1 = var(32) = 0

[State -1, Stand Light Punch]
type = ChangeState
value = 1100
triggerall = ctrl
triggerall = enemy,life > 1
triggerall = NumHelper(1101) = 0
triggerall = var(30) = 30
triggerall = statetype != A
;trigger1 = p2bodydist X < 220
trigger1 = p2bodydist X > 200
trigger2 = p2bodydist X > 100
trigger2 = p2stateno = 5120

[State -1]
type = ChangeState
value = 100
triggerall = stateno != 101
triggerall = stateno != 100
triggerall = var(30) = 30
triggerall = var(31) = 1
triggerall = statetype = S
triggerall = ctrl
triggerall = p2life > 1
triggerall = power > 500
trigger1 = p2bodydist X < 190
trigger1 = p2bodydist X > 120
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = NumHelper(1101) = 1
trigger2 = p2bodydist X > 150

[State -1]
type = ChangeState
value = 101
triggerall = stateno != 101
triggerall = stateno != 100
triggerall = var(30) = 30
triggerall = var(32) = 1
triggerall = statetype = S
triggerall = ctrl
triggerall = p2life > 1
triggerall = power > 500
trigger1 = p2bodydist X < 80
trigger1 = p2bodydist X > 40
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = p2bodydist X < 15
trigger2 = p2bodydist X > 9
trigger2 = p2statetype = C
trigger2 = p2movetype != H
trigger2 = p2movetype != A

[State -1]
type = ChangeState
value = 100
triggerall = stateno != 100
triggerall = stateno != 101
triggerall = var(30) = 30
triggerall = var(31) = 0
triggerall = statetype != A
triggerall = p2life > 1
triggerall = power > 100
triggerall = ctrl
triggerall = p2bodydist X > 100
trigger1 = p2stateno = 5035


[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = var(30) = 30
triggerall = statetype = A
triggerall = ctrl
trigger1 = p2bodydist X = -8
trigger1 = p2statetype != A

[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(30) = 30
triggerall = statetype = A
triggerall = vel X = 0
triggerall = ctrl
trigger1 = p2bodydist X < 43
trigger1 = p2statetype = A
trigger2 = vel Y > 1
trigger2 = p2bodydist X < 43
trigger2 = p2bodydist X > 5
trigger2 = p2statetype != A

;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = var(30) = 30
triggerall = statetype = A
triggerall = vel X != 0
triggerall = ctrl
trigger1 = p2bodydist X < 43
trigger1 = p2statetype = A
trigger2 = vel Y > 1
trigger2 = p2bodydist X < 43
trigger2 = p2bodydist X > 5
trigger2 = p2statetype != A



;---------------------------------------------------------------------------
;[State -1, Light Kung Fu Palm]
;type = ChangeState
;value = 3900
;triggerall = p2stateno = 10001
;triggerall = command = "fatal3"
;triggerall = var(41) = 1
;trigger1 = statetype = S
;trigger1 = ctrl
;trigger1 = p2bodydist X < 23


;---------------------------------------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3600
triggerall = p2stateno = 10001
triggerall = command = "fatal2"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 23

[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3600
triggerall = p2stateno = 10001
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 23
;---------------------------------------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = p2stateno = 10001
triggerall = command = "fatal1"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 25

[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = p2stateno = 10001
triggerall = command = "c"
triggerall = command != "holdback"
triggerall = command != "holddown"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 25

;------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3100
triggerall = p2stateno = 10001
triggerall = command = "friendship"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3100
triggerall = p2stateno = 10001
triggerall = command = "c"
triggerall = command = "holdback"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl


;------------------------------------------
;[State -1, Light Kung Fu Palm]
;type = ChangeState
;value = 3200
;triggerall = p2stateno = 10001
;triggerall = command = "pit"
;triggerall = var(41) = 1
;trigger1 = statetype != A
;trigger1 = ctrl
;trigger1 = p2bodydist X < 15

;[State -1, Light Kung Fu Palm]
;type = ChangeState
;value = 3200
;triggerall = p2stateno = 10001
;triggerall = command = "c"
;triggerall = command = "holddown"
;triggerall = var(41) = 1
;trigger1 = statetype != A
;trigger1 = ctrl
;trigger1 = p2bodydist X < 15

;---------------------------------------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3400
triggerall = p2stateno = 10001
triggerall = command = "fatal1"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 25

[State -1, Light Kung Fu Palm]
type = ChangeState
value = 3400
triggerall = p2stateno = 10001
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = var(41) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 25

;---------------------------------------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 100
triggerall = command = "z"
triggerall = command = "holdfwd"
trigger1 = power > 10
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Fast Kung Fu Blow]
type = ChangeState
value = 1200
triggerall = command = "jump"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Fast Kung Fu Blow]
type = ChangeState
value = 1100
triggerall = NumHelper(1101) = 0
triggerall = command = "qcf_x"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = command = "stomp"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 40
trigger3 = stateno = 12


;---------------------------------------------------------------------------
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
[State -1, Stand Light Punch]
type = ChangeState
value = 300
triggerall = command = "a"
triggerall = command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Stand Light Punch]
type = ChangeState
value = 310
triggerall = command = "b"
triggerall = command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl

;===========================================================================
[State -1, Stand Light Punch]
type = ChangeState
value = 220
triggerall = command = "x"
triggerall = p2bodydist X < 10
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Stand Light Punch]
type = ChangeState
value = 221
trigger1 = var(17) = 1
trigger1 = var(18) = 1
trigger1 = stateno = 220
trigger1 = time > 8
trigger1 = time < 15

[State -1, Stand Light Punch]
type = ChangeState
value = 222
trigger1 = var(17) = 2
trigger1 = var(18) = 1
trigger1 = stateno = 221
trigger1 = time > 10
trigger1 = time < 19

[State -1, Stand Light Punch]
type = ChangeState
value = 223
trigger1 = var(17) = 1
trigger1 = var(18) = 1
trigger1 = command = "holdfwd"
trigger1 = stateno = 222
trigger1 = time > 14
trigger1 = time < 20

;---------------------------------------------------------------------------

[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;Stand Strong Punch
;p`
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl


;---------------------------------------------------------------------------
[State -1, Stand Light Punch]
type = ChangeState
value = 263
trigger1 = var(17) = 3
trigger1 = var(18) = 1
trigger1 = command = "holdback"
trigger1 = stateno = 262
trigger1 = time > 11
trigger1 = time < 17

[State -1, Stand Light Kick]
type = ChangeState
value = 261
trigger1 = var(17) = 3
trigger1 = var(18) = 1
trigger1 = stateno = 260
trigger1 = time > 8
trigger1 = time < 17

[State -1, Stand Light Kick]
type = ChangeState
value = 262
trigger1 = var(18) = 1
trigger1 = var(17) = 4
trigger1 = stateno = 261
trigger1 = time > 11
trigger1 = time < 17

[State -1, Stand Light Kick]
type = ChangeState
value = 260
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = p2bodydist X < 5
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = var(17) = 3
trigger2 = var(18) = 1
trigger2 = stateno = 222
trigger2 = time > 11
trigger2 = time < 25
;-------------------------------------
[State -1, Stand Light Kick]
type = ChangeState
value = 260
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = p2bodydist X < 5
trigger1 = statetype = S
trigger1 = ctrl


;---------------------------------------------------------------------------
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl


;---------------------------------------------------------------------------
;Standing Strong Kick
;LbN
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 9


;---------------------------------------------------------------------------
;Taunt
;
;[State -1, Taunt]
;type = ChangeState
;value = 195
;triggerall = command = "start"
;trigger1 = statetype != A
;trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl


;---------------------------------------------------------------------------
[State -1, Crouching Light Kick]
type = ChangeState
value = 420
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl


;---------------------------------------------------------------------------
[State -1, Crouching Strong Kick]
type = ChangeState
value = 430
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Light Punch
;󒆎p`
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl


[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "a"
trigger1 = vel X = 0
trigger1 = statetype = A
trigger1 = ctrl
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = vel X = 0
trigger1 = statetype = A
trigger1 = ctrl

;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------

;---------------------------------------------------------------------------

